<div class="modal-content">
	<div class="modal-header">
		<h4 class="modal-title">添加课本</h4>
		<button type="button" class="close" data-dismiss="modal"
			aria-label="Close">
			<span aria-hidden="true">×</span>
		</button>
	</div>
	<div class="modal-body">
		<div class="container modal-wrap">
			<div class="row">
                <div class="col-sm-3">
                    <label class="col-form-label">学段：</label>
                </div>
                <div class="col-sm-9">
                    <div class="form-group">
                        <select class="form-control" ng-options="stage.id as stage.name for stage in stageList" ng-model="form.fk_stage" form-check="must" form-check-alert="请选择学段！"
                                ng-change="selectStageChange()">
                            <option value="">--请选择--</option>
                        </select>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-sm-3">
                    <label class="col-form-label">学科：</label>
                </div>
                <div class="col-sm-9">
                    <div class="form-group">
                        <select class="form-control" ng-options="subject.id as subject.name for subject in subjectList" ng-model="form.fk_subject" form-check="must" form-check-alert="请选择学科！"
                                ng-change="selectSubjectChange()">
                            <option value="">--请选择--</option>
                        </select>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-sm-3">
                    <label class="col-form-label">年级：</label>
                </div>
                <div class="col-sm-9">
                    <div class="form-group">
                        <select class="form-control" ng-options="grade.id as grade.name for grade in gradeList" ng-model="form.fk_grade">
                            <option value="">--请选择--</option>
                        </select>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-sm-3">
                    <label class="col-form-label">教材：</label>
                </div>
                <div class="col-sm-9">
                    <div class="form-group">
                        <select class="form-control" ng-options="version.id as version.name for version in versionList" ng-model="form.fk_version" form-check="must" form-check-alert="请选择教材！">
                            <option value="">--请选择--</option>
                        </select>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-sm-3">
                    <label class="col-form-label">课本：</label>
                </div>
                <div class="col-sm-9">
                    <div class="form-group">
                        <input type="text" class="form-control" ng-model="form.name" form-check="must" form-check-alert="请输入课本名称！" />
                    </div>
                </div>
            </div>
		</div>
	</div>
	<div class="modal-footer">
		<div style="margin: auto;">
			<button type="button" class="btn btn-primary" ng-click="save()">
				<span aria-hidden="true">保存</span>
			</button>
			<button type="button" class="btn btn-secondary" data-dismiss="modal"
				aria-label="Close">
				<span aria-hidden="true">取消</span>
			</button>
		</div>
	</div>
</div>


